.img{
    width: 100%;
    margin: 0;
}
/* 直购 */
.href {
    width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.middle{ 
    background-color: rgb(240, 240, 240);
    height:135px;
}

/* 热销爆款 */
.hot{
    margin: 0 auto;
    padding: 0 5px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 28px;
    color: rgb(255, 255, 255);
    background-color: rgb(85, 68, 113);
    width: 933px;
}

.bottom_1{
    /* margin:0 auto; */
    background-color: rgb(240, 240, 240);
    margin: 0px;
}


/* 商品列表 */

.goodsDisplay {
width: 1020px;
/* 页面高度 */
height: 700px;
/* background-color: rgb(240, 240, 240); */
margin: 0 auto;
}

/* 商品列表 */
.goodsList {
position: relative;
width: 100%;
height: 630px;
margin-top: -13px;
background-color: rgb(240, 240, 240);
}

.goodsList ul li {
display: block;
float: left;
position: relative;
height: 279px;
width: 183px;
background-color: #fff;
margin-top: 5px;
margin-bottom: 40px;
margin-right: 6px;
}

/* 对单个商品进行指定 */
.goodsList ul li .goods {
height: 296px;
background-color: #fff;
border: 1px solid transparent;
background-color: inherit;
transition: all 0.2s ease;
}

/* 单个商品左上角的红色小标签 */
.goodsList ul li .leftTop {
display: block;
position: absolute;
top: 0;
margin-top: 1px;
margin-left: -1px;
width: fit-content;
height: 20px;
padding: 0 5px 0 3px;
color: #fff;
font-size: 12px;
line-height: 20px;
background-color: #ff8385;
z-index: 1;
}

/* 单个商品左下角的小标签 */
.goodsList ul li .leftBottom {
display: block;
position: absolute;
height: 15px;
left: 8px;
border: 1px solid #e31436;
border-radius: 3px;
background: #fff;
color: #e31436;
font-size: 12px;
line-height: 15px;
}

/* 商品名字 */
.goodsList ul li h3 {
display: block;
height: auto;
width: 180px;
white-space: nowrap;
text-overflow: ellipsis;
margin-top: 4px;
margin-left: 4px;
overflow: hidden;
}

/* 鼠标移动到商品栏后，相应的商品显示商品名字，white-space属性让标题全部显示 */
.goodsList ul li:hover .goods {
height: 338px;
border: 1px solid red;
white-space: normal;
}

.goodsList ul li:hover p {
white-space: normal;
}

.goodsList ul li h3 a p {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}

.goodsList ul li h3:hover p {
cursor: pointer;
text-decoration: underline;
}

.goodsList ul li img {
width: 100%;
}

/* 单个的商品描述文字 */
.goodsList ul li .describe {
color: #666;
margin-left: 4px;
margin-top: -24px;
}

/* 单个商品的价格，采用大红色显示 */
.goodsList ul li .value {
position: relative;
color: rgb(227, 20, 54);
background-color: #fff;
line-height: 22px;
margin-bottom: 14px;
z-index: 9999;
}

.goodsList ul li .value a {
display: block;
float: right;
width: fit-content;
height: 24px;
margin-right: 4px;
bottom: 14px;
padding: 0 6px;
border-radius: 20px;
background: #e31436;
color: #fff;
font-size: 12px;
line-height: 24px;
text-align: center;
text-decoration: none;
}

/* 商品原价格，文字划线 */
.goodsList ul li .value del {
color: #999;
}


/* 右侧导航栏 */
ul.rightNav {
position:fixed;
right: 20px;
top: 400px;
width: 128px;
z-index: 9999;

}

/* 右侧导航栏的li属性设置 */
ul.rightNav li {
display: block;
list-style: none;
width: 100px;
line-height: 25px;
height: 25px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
text-align: center;
color: #fff;
background-color: rgb(85, 68, 113);
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
cursor: pointer;
z-index: 100px;
font-size: 13px;
}

/* 单鼠标移动到右侧导航栏的指定 li 上时，底色显示为暗红色 */
ul.rightNav li:hover {
background-color: rgb(69, 39, 117);
}

/* 右侧导航条的第一个li是购物车 */
#oneCar {
display: block;
float: left;
/* margin-left: 18px; */
text-align: center;
/* margin-top: 5px; */
width: 20px;
height: 25px;
background-size: 20px 21px;
background-image: url('./购物车_1.png');
}

/* 购物车 */
#oneCar+span {
margin-left: -20px;
}

/* 右侧导航栏最后一个li是上箭头 */
/* #oneUp {
display: block;
margin-left: 40px;
margin-top: 0px;
width: 20px;
height: 16px;
background-size: 20px 21px;
background-image: url('./上箭头.png');
} */

#scrif{
text-align: center;
color: #fff;
background-color:rgb(26, 24, 24);
height: 140px;
padding-top: 20px;
line-height: 25px;
font-size: 12px;

}
#scrif a:link{
text-decoration: none;
color: #fff;
}
